﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class DisconnectManager : MonoBehaviour
{
    public Text DisconnectReasonText;

    // Use this for initialization
    void Start()
    {
        DisconnectReasonText.text = string.Format(DisconnectReasonText.text, Connection.GameClient.DisconnectReason);
    }

    public void Quit()
    {
        Application.Quit();
    }
}
